#pragma once
#include "EasySize.h"
#include "afxdtctl.h"
#include "afxcmn.h"
#include "GTDListCtrl.h"
#include "afxwin.h"
#include "CheckComboBox.h"

// CDlgTaskPropEdit dialog
class GtdTaskEntry;
class CDlgTaskPropEdit : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgTaskPropEdit)
	

public:
	CDlgTaskPropEdit(GtdTaskEntry* pTaskEntry, CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgTaskPropEdit();

// Dialog Data
	enum { IDD = IDD_DIALOG_TASKEDIT };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
	DECLARE_MESSAGE_MAP()
public:
	
	virtual void OnOK();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedCheckf();
	//ctrl
	CDateTimeCtrl m_ctrlDateF;
	CDateTimeCtrl m_ctrlTimeF;
	CDateTimeCtrl m_ctrlDateT;
	CDateTimeCtrl m_ctrlTimeT;
	CGTDListCtrl m_ctrlCheckList;
	
	BOOL m_bTimeF;
	BOOL m_bTimeT;

	//data output
	GtdTaskEntry* m_pTaskEntry;
	/*CString m_sTaskName;
	CTime m_tFrom;
	CTime m_tTo;
	std::vector<CString> m_sChecklist;*/
	CCheckComboBox m_combSelContext;
	void InitComboContext();
	
	afx_msg void OnBnClickedCheckt();

	


	DECLARE_EASYSIZE



};
